//
//  WeatherAPIService.h
//  iWeather
//
//  Created by Vo Thi My Hanh (FSU1.BU19) on 9/17/13.
//  Copyright (c) 2013 Vo Thi My Hanh (FSU1.BU19). All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASIHTTPRequest.h"

@class ASIFormDataRequest;
@class WeatherCondition;
@class WeatherAstronomy;
@class ImageID;

typedef enum
{
    kTrafficStuffAPI,
   
    
} APIType;

@protocol APIDelegate <NSObject>

-(void)serviceRequestTimeOut;

@end
@protocol trafficAPIDelegate <APIDelegate>
- (void) trafficStuffAPIRequestFinished:(ASIHTTPRequest *)request;

@end
@interface APIService : NSObject <ASIHTTPRequestDelegate>
{
    ASIHTTPRequest* _asiHttpRequest;
    id <trafficAPIDelegate> _delegate;
    
}

@property(nonatomic,retain) id <APIDelegate> delegate;

-(void)requestDataWithTypeOfService:(int) type ;


@end
